﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace Entity.Package
{
    public class PackRequestSearch
    {
        //通用结构
        public PackHead packHead;

        private string tradeCode;   //交易码
        public string TradeCode
        {
            get { return tradeCode; }
            set { tradeCode = value; }
        }
        private string gasUserID;  //用户编号
        public string GasUserID
        {
            get { return gasUserID; }
            set { gasUserID = value; }
        }
        private string month="000000";  //月份
        public string Month
        {
            get { return month; }
            set { month = value; }
        }
        private string flag="1";  //查询标志
        public string Flag
        {
            get { return flag; }
            set { flag = value; }
        }

        public PackRequestSearch()
        { }

        public PackRequestSearch(PackHead pkHead,string valueTradeCode,string valueGasuserID)
        {
            this.packHead = pkHead;
            this.tradeCode = valueTradeCode;
            this.gasUserID = valueGasuserID;
        }

        public override string ToString()
        {
            return packHead.ToString() + tradeCode + "|" + gasUserID + "|" + month + "|" + flag;
        }
    }
}
